package dao;

import entity.AcademyEntity;

import java.util.List;
import java.util.Map;

public interface AcademyDao {
    List<Map<String,Object>> getAcademyInfo(String name);

    int addAcademyInfo(AcademyEntity academy);

    int updateAcademyInfo(AcademyEntity academy);

    int deleteAcademy(String academyId);

    int batchDeleteAcademy(List<String> ids);

    Map<String,Object> getAcademyInfoById(String id);
}
